  public function getFilterForm($filters)
  {
    $class = $this->getFilterFormClass();

    return new $class($filters, $this->getFilterFormOptions());
  }

  public function getFilterFormOptions()
  {
    return array();
  }

  public function getFilterDefaults()
  {
    return array();
  }

  public function hasFilterCredentials()
  {
    return (false !== $this->getFilterCredentials());
  }

  public function getFilterCredentials()
  {
<?php if (isset($this->config['filter']['credentials'])): ?>
    return <?php echo $this->asPhp($this->config['filter']['credentials']) ?>;
<?php unset($this->config['filter']['credentials']) ?>
<?php else: ?>
    return false;
<?php endif; ?>

  }